package cc.cix.gt.org.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author cix
 */
@Data
@ApiModel(value = "RegisterDTO对象", description = "注册用户")
public class RegisterReq {

    @NotBlank(message = "头像不能为空")
    @ApiModelProperty("头像")
    private String avatar;

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty("手机号")
    private String mobile;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

}
